<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="onein" uri="http://www.onein.cn/jsp/taglib"%>
<%@ page import="cn.onein.edu.web.common.base.BaseController" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>请您登录  | 万应教育</title>
<jsp:include page="/WEB-INF/inc/meta.jsp"/>
<link href='<onein:url value="/styles/all.css"/>' type="text/css" rel="stylesheet" />
<link href="<onein:url value="/styles/user_new.css"/>" type="text/css" rel="stylesheet" />
<script src="<onein:url value="/scripts/jquery.js"/>" type="text/javascript"></script>
<script type="text/javascript">
function login(){    
    if($("#userName").val() == ""){
        return false;
    }
    if($("#password").val() == ""){
        return false;
    }
    
    return true;
}
</script>
</head>
<body onload="document.forms[0].userName.focus();">
   <div id="page_reg">
	   <form id="loginForm" action="<onein:url value="/login" />" method="post">
	   <input type="hidden" name="action" value="login"/>
	   <div class="reg_top_n clear">                   
        <a href="<onein:url value="/" />" title="万应教育">
          <img src="<onein:url value="/images/new/logo.jpg"/>" />
        </a>
        <span class="reg_text_n">用户登录</span>
        <div class="reg_top_n_r" style="width:400px;padding-top:20px;">
		    <label style="width:400px;">
		        <a href="<onein:url value="/" />">万应首页</a> | <a target="_blank" href="<onein:url value="/promotion" />">精选指南</a> | <a target="_blank" href="<onein:url value="/learn" />">育儿百科</a> | <a target="_blank" href="<onein:url value="/team" />">专家团队</a> | <a target="_blank" href="<onein:url value="/help" />">帮助中心</a>
		    </label>
	    </div>
       </div>
       <div class="blank"></div>
       <div class="reg_con_n_2" style="height:500px;padding:0px;">
          <div class="login_yh_n">
          <div class="l_yh">            
              <p class="f20px color_n cu">请您登录</p>
              <ul class="for_box_n clear">
                 <li class="clear">
                    <label>邮箱/用户名:</label>
                    <div class="input_box_n">
                       <input tabindex="1"  class="Warning" name="userName" id="userName" type="text" value="${userName}" maxlength="50"/>
                    </div>
                 </li>
                 <li class="clear">
                    <label>登录密码:</label>
                    <div class="input_box_n">
                       <input tabindex="2" name="password" id="password" type="password" class="Warning" maxlength="50"/>
                       <a href="<onein:url value="/forgetPaassword" />">忘记密码？</a>
                    </div>
                 </li>
                 <li>
                     <p class="input_n2" style="margin-left:24px;">
                        <input tabindex="3" name="savepassword" type="checkbox" value="true" checked="checked"/>
                        <span>记住登录状态</span>
                     </p>
                     <p id="remember_info" class="tips_n" style="margin-left:90px;">请勿在公共场所使用此功能，登录状态将保存 100 天</p>
                     <div class="login_bu_n">
                        <input tabindex="4" onclick="javascript:return login();" name="loginBt" class="reg_but_n3" value="" type="submit"/>
                     </div>
                     <br/>
                     <br/>
                     <c:if test="${ERROR_MESSAGE_KEY != null}">
		              <div id="sumTipper" class="warring">
		                <div class="ErrorMsg" id="username_info"><img src="<onein:url value="/images/new/warring-1.jpg"/>" border="0" height="14" width="14"/><span>${ERROR_MESSAGE_KEY}</span></div>
		              </div>
                     </c:if>
                  </li>
               </ul>
            </div>
            <div class="r_yh">
                <p class="color_n4 cu f14px">如果您还没有万应网账号？</p>
                <p><a href="<onein:url value="/register" />" class="reg_but_n4"><span class="none">马上注册</span></a></p>
                <p>只要一分钟便可以完成注册</p>
            </div>
            </div>            
         </div>                ﻿
		 <jsp:include page="/WEB-INF/inc/footer.jsp"/>
      </form>
    </div>
  </body>
  </html>